package com.homeproject.trailservice.domain.relationship;


import lombok.*;
import org.neo4j.ogm.annotation.RelationshipEntity;

/**
 * Within a community group purchase, there are following entities and relationships
 *
 * Customer - participate -> Order
 * GroupManager - Initiate -> Order
 * Fruit - PartOf -> Order
 * Vegetable - PartOf -> Order
 * Provider - Prepare -> Order
 * Deliverer - Deliver -> Order
 * Deliverer - WorksFor -> DeliveryCompany
 * */


@RelationshipEntity("Deliver")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Getter
@Setter
public class Deliver extends BaseRelationEntity {
    private String name;
}
